<?php /* Smarty version 2.6.18, created on 2016-12-12 22:22:30
         compiled from syllabus/syllabus.classlist.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
      <!--树状图-->
      <section class="col-lg-2 connectedSortable" style=" padding-right:0px; margin-bottom:10px;">
           <div class="sidebar" style="background-color:#fff; padding-bottom:0px;">
             <ul class="sidebar-menu" id="chan">
					<?php $_from = $this->_tpl_vars['class_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                    <li class="treeview <?php if ($this->_tpl_vars['key'] == $this->_tpl_vars['class_data']['grade_id']): ?>active<?php endif; ?>" >
                      <a href="#">
                        <i class="glyphicon glyphicon-align-left"></i> <span><?php echo $this->_tpl_vars['value']['grade_name']; ?>
</span> <i class="fa fa-angle-left pull-right"></i>
                      </a>
                          <ul class="treeview-menu" style="background-color:#fff;">
							<?php $_from = $this->_tpl_vars['value']['class']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
                            <li <?php if ($this->_tpl_vars['v']['class_id'] == $this->_tpl_vars['class_data']['class_id']): ?>class="active"<?php endif; ?>><a href="index.php?a=syllabus.classlist&class_id=<?php echo $this->_tpl_vars['v']['class_id']; ?>
"><i class="fa fa-angle-right"></i>  <?php echo $this->_tpl_vars['v']['class_name']; ?>
</a></li>
							<?php endforeach; endif; unset($_from); ?>
                          </ul>
                    </li>
					<?php endforeach; endif; unset($_from); ?>
              </ul>
            </div>
          
        </section>
        <!--树状图结束-->
        <section class="col-lg-10 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-list" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">课程表列表</p>
                </div>
                <div class="box-body">
                     <table class="table table-bordered table-striped"  id="mytable">
                            <thead>
                                    <tr style="background-color:#5fb2dc;">
                                        <td>年级</td>
                                        <td>班级</td>
                                        <td>学期</td>
                                        <td>单双周</td>
                                        <td width="180">操作</td>
                                    </tr>
                            </thead>
                            <tbody>	
								<?php $_from = $this->_tpl_vars['syllabus_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
									<?php $_from = $this->_tpl_vars['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
                                    <tr>
                                        <td><?php echo $this->_tpl_vars['class_data']['grade_name']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['class_data']['class_name']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['v']['semester_name']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['v']['double_name']; ?>
</td>                                        
										<td>
										<a href="index.php?a=syllabus.info&syllabus_double=<?php echo $this->_tpl_vars['k']; ?>
&class_id=<?php echo $this->_tpl_vars['class_data']['class_id']; ?>
&semester_id=<?php echo $this->_tpl_vars['key']; ?>
" class="btn btn-success btn-sm" title="查看"><i class="fa fa-search"></i></a>

										<a href="index.php?a=syllabus.in&syllabus_double=<?php echo $this->_tpl_vars['k']; ?>
&class_id=<?php echo $this->_tpl_vars['class_data']['class_id']; ?>
&semester_id=<?php echo $this->_tpl_vars['key']; ?>
" class="btn btn-info btn-sm" title="导入"><i class="fa  fa-sign-in"></i> </a>
										<a href="index.php?a=syllabus.outdata&class_id=<?php echo $this->_tpl_vars['class_data']['class_id']; ?>
&semester_id=<?php echo $this->_tpl_vars['key']; ?>
&syllabus_double=<?php echo $this->_tpl_vars['k']; ?>
" class="btn btn-primary btn-sm" title="导出"><i class="fa fa-sign-out"></i></a>
										</td>
                                    </tr>
									<?php endforeach; endif; unset($_from); ?>
								<?php endforeach; endif; unset($_from); ?>
                             </tbody>	
                        </table> 
				</div><!--box-body -->
           </div><!--box box-default box-solid-->
        </section>   
      </div><!--row-->
    </section>
 </div>
 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>